package com.woniuxy.commons.entity.purchaseManager;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.woniuxy.commons.entity.purchaseManager.base.PurchaseBaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;


/**
 * 分配需求单商品表(NeedDemandGoods)实体类
 *
 * @author hg
 * @since 2022-04-18 20:11:01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("need_demand_goods")
public class NeedDemandGoodsEntity extends PurchaseBaseEntity {

    private static final long serialVersionUID = -51937023323965491L;

    /**
     * 分配需求id,自增
     */

    @TableId(type = IdType.AUTO)
    private Integer AllocationDemandId;
    /**
     * 产品ID
     */
    @TableField("need_demaned_product_id")
    private String NeedDemandProductId;
    /**
     * 克重范围
     */
    @TableField("gram_weight")
    private String gramWeight;
    /**
     * 数量
     */
    @TableField("amount")
    private Integer amount;
    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 克重开始（范围）
     */
    @TableField("gram_start")
    private Double gramStart;
    /**
     * 克重结束 （范围）
     */
    @TableField("gram_end")
    private Double gramEnd;


}

